namespace ClassLibrary1
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("rms.shopuser")]
    public partial class shopuser
    {
        [Column(TypeName = "uint")]
        public long id { get; set; }

        [StringLength(60)]
        public string username { get; set; }

        [StringLength(32)]
        public string password { get; set; }

        public int? gender { get; set; }

        public DateTime? birthday { get; set; }

        public DateTime? registertime { get; set; }

        public DateTime? lastlogintime { get; set; }

        [StringLength(15)]
        public string lastloginip { get; set; }

        public sbyte? userlevelid { get; set; }

        [StringLength(60)]
        public string nickname { get; set; }

        [StringLength(20)]
        public string mobile { get; set; }

        [StringLength(45)]
        public string registerip { get; set; }

        [StringLength(50)]
        public string city { get; set; }

        [StringLength(255)]
        public string avatarUrl { get; set; }

        [StringLength(50)]
        public string openid { get; set; }

        [StringLength(50)]
        public string language { get; set; }

        [StringLength(50)]
        public string province { get; set; }

        [StringLength(50)]
        public string country { get; set; }
    }
}
